/*
Jack Morris
11/20/14
Page 50
Assinment 2
*/
#include <stdio.h>

int main()
{
  float itm, pric;
  int dd, mm, yyyy;
  printf("Enter item number: ");
  scanf("%f", &itm);
  printf("Enter unit price: ");
  scanf("%f", &pric);
  printf("Enter purchase date (mm/dd/yyyy): ");
  scanf("%d/%d/%d", &dd, &mm, &yyyy);
  printf("Item      Unit      Purchase\n");
  printf("          Price     Date\n");
  printf("%d        %d        %d", dd, mm, yyyy);
}